Add documentation for window-tool-bar package
authorJared Finder <jared@finder.org>
Sun, 9 Jun 2024 00:23:58 +0000 (17:23 -0700)
committerEli Zaretskii <eliz@gnu.org>
Sun, 9 Jun 2024 12:21:34 +0000 (15:21 +0300)
commita5c0d682b10fa60925641c6abc3a5dbee024fa46
treed8ad62800a6d19bc37b5dc03f3ca87d4df930d3b
parent7f8ded2a85d551c6e3303eaca1697bbd7b9427ef
Add documentation for window-tool-bar package

Also change window-tool-mode to not pay attention to if
tool-bar-map has a buffer local value or not as that made the
documentation complicated.  Documentation added in Emacs manual,
Elisp manual, package commentary, and docstrings.  Also extend
window-tool-bar support to Emacs 27 and newer.  (bug#68765)

* doc/emacs/emacs.texi (Top):
* doc/emacs/frames.texi (Menu Bars):
* doc/emacs/glossary.texi (Glossary):
* doc/emacs/modes.texi (Minor Modes):
* doc/emacs/windows.texi (Windows, Tab Line): Mention Window
Tool Bar.
(Window Tool Bar): New documentation.
* doc/lispref/elisp.texi (Top):
* doc/lispref/modes.texi (Mode Line Format, Mode Line Basics)
(Mode Line Data): Mention Tab Lines.
(Tab Lines): New documentation.
* etc/NEWS: Mention newly added variable and package.
* lisp/window-tool-bar.el (window-tool-bar-mode): Don't display
tool bar when tool-bar-map is nil.
* lisp/window-tool-bar.el (tool-bar-always-show-default): Define
variable for older Emacs versions.
doc/emacs/emacs.texi
doc/emacs/frames.texi
doc/emacs/glossary.texi
doc/emacs/modes.texi
doc/emacs/windows.texi
doc/lispref/elisp.texi
doc/lispref/modes.texi
etc/NEWS
lisp/window-tool-bar.el